package com.nativetalk.dao;

import com.nativetalk.base.Page;
import com.nativetalk.bean.giving.TdNtLiveGivingHistoryMemberList;
import com.nativetalk.bean.giving.TdNtLiveGivingHistoryTeacherList;

import java.util.List;

/**
 * Created by lizhun on 16/1/11.
 */
@MyBatisRepository
public interface TdNtLiveGivingHistoryDao {
    /**
     * @Purpose
     * @Purpose  查找用户送出礼物记录数量
     * @version  3.0
     * @author   lizhun
     * @param    page
     * @return   int
     */
    public int findTdNtLiveGivingHistoryByMembIdSize(Page page);
    /**
     * @Purpose
     * @Purpose  查找用户送出礼物记录分页
     * @version  3.0
     * @author   lizhun
     * @param    page
     * @return   List<TdNtLiveGivingHistoryMemberList>
     */
    public List<TdNtLiveGivingHistoryMemberList> findTdNtLiveGivingHistoryByMembIdPage(Page page);
    /**
     * @Purpose
     * @Purpose  查找教师收到礼物记录数量
     * @version  3.0
     * @author   lizhun
     * @param    page
     * @return   int
     */
    public int findTdNtLiveGivingHistoryByTeaIdSize(Page page);
    /**
     * @Purpose
     * @Purpose  查找教师收到礼物记录分页
     * @version  3.0
     * @author   lizhun
     * @param    page
     * @return   List<TdNtLiveGivingHistoryTeacherList>
     */
    public List<TdNtLiveGivingHistoryTeacherList> findTdNtLiveGivingHistoryByTeaIdPage(Page page);

}
